runtime.m.ncgo (field)
10 uses
runtime (current package)
cgocall.go#L183: mp.ncgo++
cgocall.go#L190: mp.ncgo--
cgocall.go#L358: if gp.m.isextra && gp.m.ncgo == 0 {
cgocall.go#L411: if gp.m.ncgo == 0 {
cgocall.go#L463: if mp.ncgo > 0 {
cgocall.go#L465: mp.ncgo--
proc.go#L1004: return mp.ncgo > 0 || mp.isextra
proc.go#L5453: if mp.ncgo > 0 && mp.curg != nil && mp.curg.syscallpc != 0 && mp.curg.syscallsp != 0 {
runtime2.go#L590: ncgo int32 // number of cgo calls currently in progress
traceback.go#L825: if iscgo && gp.m != nil && gp.m.ncgo > 0 && gp.syscallsp != 0 && gp.m.cgoCallers != nil && gp.m.cgoCallers[0] != 0 {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |